Skip to content

fix: remove empty state package version checkbox - #1788

Merged
Dugowitch merged 1 commit into
RedHatInsights:masterfrom
Dugowitch:empty-state
Sep 8, 2026
Merged

fix: remove empty state package version checkbox#1788
Dugowitch merged 1 commit into
RedHatInsights:masterfrom
Dugowitch:empty-state

Conversation

@Dugowitch

@Dugowitch Dugowitch commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Description

Associated Jira ticket: HMS-11267

Remove checkbox for empty-state menu item and fix disabled.

How to test the PR

Find a package that has empty-state in it's Package details filter by 'version'. Check visually. Also, confirm that the checkbox is still present where applicable.

Before the change

Screenshot From 2026-09-03 15-54-08

After the change

Screenshot From 2026-09-03 15-53-11

Checklist:

  • The commit message has the Jira ticket linked
  • PR has a short description
  • Screenshots before and after the change are added
  • Tests for the changes have been added
  • README.md is updated if necessary
  • Needs additional dependent work

@Dugowitch
Dugowitch marked this pull request as ready for review September 3, 2026 14:01
@Dugowitch
Dugowitch requested a review from a team as a code owner September 3, 2026 14:01
@codecov-commenter

codecov-commenter commented Sep 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.39%. Comparing base (897f15a) to head (c99aaa9).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1788      +/-   ##
==========================================
+ Coverage   77.38%   77.39%   +0.01%     
==========================================
  Files         102      102              
  Lines        3298     3300       +2     
  Branches      759      759              
==========================================
+ Hits         2552     2554       +2     
  Misses        667      667              
  Partials       79       79              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@swadeley

swadeley commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

Hi @Dugowitch , where did you get an RPM package without a version? Such a package would be invalid by RHEL standards.

@Dugowitch

Dugowitch commented Sep 7, 2026

Copy link
Copy Markdown
Contributor Author

Hi @swadeley, I don't know where it appeared in SPUR. When I tested it, I just commented out the if block in code to simulate it

@swadeley

swadeley commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

Hi @Dugowitch , @MichaelMraka checked the database, it will not allow you to store a package without a version. So no user should ever encounter this case. So this is just a fronted issue of mostly academic interest (a moot point).

I'll will ACK so FE code looks logical.

swadeley
swadeley previously approved these changes Sep 8, 2026
@Dugowitch

Copy link
Copy Markdown
Contributor Author

Yeah, I don't know how it happened but apparently, they stumbled upon it during SPUR

@Dugowitch
Dugowitch merged commit dcb2962 into RedHatInsights:master Sep 8, 2026
5 of 7 checks passed
@Dugowitch
Dugowitch deleted the empty-state branch September 8, 2026 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants